package com.fofo.test.caculator.constant;

public enum ExpressionEnum {
    OPER_ADD_SUBTRACT("OPER",4  ),
    OPER_MULTIPLY_DIVIDE("OPER",5  ),
    NUMBER("NUMBER",1  ),
    UNDO("UNDO",2  ),
    REDO("REDO",3  );

    private String code;
    private Integer value;

    private ExpressionEnum(String code, Integer value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
